package com.momo.hotel.service;

import com.momo.hotel.dao.mapping.TbUserMapper;
import com.momo.hotel.dao.pojo.TbUser;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @version 1.0.0
 * @auther Snake
 * @date 2019/7/1 17:27
 */

public interface UserService {

    //判断密码和用户名
    boolean loginUser(TbUser user);

    //检车用户名是否存在
    boolean checkUsername(TbUser user);

    //获取用户
    TbUser loginUserByUserName(String username);

    //添加用户
    boolean addUser(TbUser user);

    //用户信息修改
    boolean uploadUser(TbUser tbUser);


}
